package com.ciwong.epaper.modules.me.presenter;

import android.content.BroadcastReceiver;
import android.content.DialogInterface;

import com.ciwong.epaper.event.EventBusFactory;
import com.ciwong.epaper.modules.me.bean.MyWork;
import com.ciwong.epaper.modules.me.bean.WorkContents;

public interface IHomeWorkPresenter {

    boolean onChildClick(MyWork myWork, WorkContents workContent, int groupPosition, int childPosition, int workType,boolean isClassWork);

    void onDownloadProgressDismissListener(DialogInterface dialog);

    void loadLocalData(String key);

    void getMyWorkList(int workMode,int curPage, int LOAD_PAGE_SIZE, boolean isErrorWork,boolean isClassWork);

    /**
     *
     */
    void initJumpToParam(MyWork myWork, WorkContents workContent, int groupPosition, int childPosition, int workType);

    void checkExamATime(int groupPosition, int childPosition, int workType);

    void setBottomMenuDialog(MyWork myWork, WorkContents workContents, int groupPosition, int childPosition, int workType);

    void onEventMainThread(EventBusFactory.DownloadEvent item);

    BroadcastReceiver getBroadcastReceiver();
}
